﻿using System.Windows;
using System.Windows.Input;

namespace FreeGoo.WpfRenderer
{
    public class CrossMouse
    {
        public static bool IsLeftButtonDown { get { return Mouse.LeftButton == MouseButtonState.Pressed; } }

        public static Point GetPosition(IInputElement relativeTo)
        {
            return Mouse.GetPosition(relativeTo);
        }
    }
}